package com.ruoyi.common.core.domain.entity;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退款审批记录对象 refund_approval
 *
 * @author ruoyi
 * @date 2024-06-07
 */
public class RefundApproval extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 审批记录ID */
    private Long refundApprovalId;

    /** 请假ID */
    @Excel(name = "请假ID")
    private Long leaveId;

    /** 学校ID */
    @Excel(name = "学校ID")
    private Long schoolId;

    /** 学校审批人ID */
    @Excel(name = "学校审批人ID")
    private Long approverUserId;

    /** 逻辑删除标记，0=未删除，1=已删除 */
    @Excel(name = "逻辑删除标记，0=未删除，1=已删除")
    private Integer isDeleted;

    /** 学校审批状态：0=未审批, 1=已审批通过, 2=已拒绝 */
    @Excel(name = "学校审批状态：0=未审批, 1=已审批通过, 2=已拒绝")
    private Long refundApprovalStatus;

    /** 学校审批时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "学校审批时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date refundApprovalTime;

    /** 学校审批意见 */
    @Excel(name = "学校审批意见")
    private String refundComment;

    public void setRefundApprovalId(Long refundApprovalId)
    {
        this.refundApprovalId = refundApprovalId;
    }

    public Long getRefundApprovalId()
    {
        return refundApprovalId;
    }
    public void setLeaveId(Long leaveId)
    {
        this.leaveId = leaveId;
    }

    public Long getLeaveId()
    {
        return leaveId;
    }
    public void setSchoolId(Long schoolId)
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId()
    {
        return schoolId;
    }
    public void setApproverUserId(Long approverUserId)
    {
        this.approverUserId = approverUserId;
    }

    public Long getApproverUserId()
    {
        return approverUserId;
    }
    public void setIsDeleted(Integer isDeleted)
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted()
    {
        return isDeleted;
    }
    public void setRefundApprovalStatus(Long refundApprovalStatus)
    {
        this.refundApprovalStatus = refundApprovalStatus;
    }

    public Long getRefundApprovalStatus()
    {
        return refundApprovalStatus;
    }
    public void setRefundApprovalTime(Date refundApprovalTime)
    {
        this.refundApprovalTime = refundApprovalTime;
    }

    public Date getRefundApprovalTime()
    {
        return refundApprovalTime;
    }
    public void setRefundComment(String refundComment)
    {
        this.refundComment = refundComment;
    }

    public String getRefundComment()
    {
        return refundComment;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("refundApprovalId", getRefundApprovalId())
            .append("leaveId", getLeaveId())
            .append("schoolId", getSchoolId())
            .append("approverUserId", getApproverUserId())
            .append("isDeleted", getIsDeleted())
            .append("refundApprovalStatus", getRefundApprovalStatus())
            .append("refundApprovalTime", getRefundApprovalTime())
            .append("refundComment", getRefundComment())
            .toString();
    }
}
